-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: generate types for mappings when int8 is used as id #1934
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 6cc2a1c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Deploying graph-tooling with
|
Latest commit: |
6cc2a1c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://ce29b2ea.graph-tooling.pages.dev |
Branch Preview URL: | https://shiyasmohd-int8-as-id-types.graph-tooling.pages.dev |
Is this PR finished? |
@YaroShkvorets PR is finished now |
@shiyasmohd Steps to reproduce:
Basically need to generate different code for Int8 that constructs unique 64-bit id for our event:
I guess we could just hash this thing and take first 8 bytes in these cases. Or we could construct something from block number, transaction index and event index. |
No description provided.